

function initRep(){
	 var myChart = echarts.init(document.getElementById('ntable'));
	 var yAxisData=['其他','你好','套餐','宽带','充值','缴费','手机','免费','活动','报装','故障','维修','客服','娱乐','电视','机顶盒'];
	 var seriesData=[18201,18203, 23489, 29034, 104970, 131744, 630230,18203, 23489, 29034, 104970, 131744, 630230,18203, 23489, 29034];
     option = {
         title: {
             //text: '世界人口总量'
         },
         tooltip: {
             trigger: 'axis',
             axisPointer: {
                 type: 'shadow'
             }
         },
         /*legend: {
             data: ['2011年']
         },*/
         grid: {
             left: '3%',
             right: '4%',
             bottom: '3%',
             containLabel: true
         },
         xAxis: {
             type: 'value',
             boundaryGap: [0, 0.01]
         },
         yAxis: {
             type: 'category',
             data: yAxisData
         },
         series: [
             {
                 name: '出现次数',
                 type: 'bar',
                 data: seriesData,
                 itemStyle: {
                     normal: {
                         //shadowBlur: 10,
                         //shadowColor: 'rgba(120, 36, 50, 0.5)',
                         //shadowOffsetY: 5,
                         color: new echarts.graphic.RadialGradient(0.4, 0.3, 1, [{
                             offset: 0,
                             color: 'rgb(83, 139, 241)'
                         }, {
                             offset: 1,
                             color: 'rgb(83, 139, 241)'
                         }])
                     }
                 }
             }
         ]
     };

     // 使用刚指定的配置项和数据显示图表。
     myChart.setOption(option);
}
$(function(){ 
	
}); 
